﻿using SolidWorks.Interop.sldworks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MechAddin.Common
{
    public static class ThisMathUtility
    {
        public static MathTransform CreateMathTransform(this MathUtility MathUtility, double x,double y,double z)
        {
            double[] xf = { 1d, 0d, 0d, 0d, 1d, 0d, 0d, 0d, 1d, x*1e-3, y*1e-3, z * 1e-3, 1d, 0d, 0d, 0d };
            return MathUtility.CreateTransform(xf);
        }
        public static MathTransform CreateMathTransform(this MathUtility MathUtility)
        {
            double[] xf = { 1d, 0d, 0d, 0d, 1d, 0d, 0d, 0d, 1d, 0d, 0d, 0d, 1d, 0d, 0d, 0d };
            return MathUtility.CreateTransform(xf);
        }
    }
}
